﻿using System;
using MediatR;
using Simple.Common.Application.Commands;

namespace Simple.Admin.Application.Commands
{
    public class CreateAdminUserCommand : Command, IRequest<bool>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 所属部门Id
        /// </summary>
        public Guid? DepartmentId { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
    }
}